select count(distinct g)  from Goods g join g.situation s where s=:situation